package main

import "math"

type ParametricEquation struct {
	A, B float64
}

func (eq ParametricEquation) Evaluate(t float64) (x, y float64) {
	return eq.A * math.Cos(t), eq.B * math.Sin(t)
}
